<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/opesoft/tlds/layout.tld" prefix="layout"%>
<%@ taglib prefix="page" tagdir="/WEB-INF/tags/page" %>

<layout:use layout="/frame/layout/system.jsp">

	<layout:set name="head">
		<script>
			$include("js/ajax.js");
			$include('js/validate.js');
			$include('js/dataGrid.js');
			$include('template/simple.js');
			$include("./dictionary.js");
			$include("./dictionaryAction.ojs");
		</script>
	</layout:set>

	<layout:set name="body">

		<TABLE border=0 cellpadding=0 cellspacing=0>
		<TR>
			<TD valign="top">
				<page:part id="dictionaryConfigPart" name="Dictionary Config">
					<TABLE width="100">
					<TR>
						<TD align="center">
							<select size="30" id="dictConfigSelect" ondblclick="selectDictConfig();">
							</select>				
						</TD>
					</TR>
					</TABLE>
				</page:part>			
			</TD>
			<TD valign="top">
				<page:part id="listPart" name="Dictionary List" width="500">
					<div id="promptMsg" align="center">&lt;&lt; Please select a dictionary config</div>
					<page:dataGrid id="dataGrid" />
					<input type="button" id="deleteButton" value="Delete" onclick="template.del()" class="button" disabled>
					<input type="button" id="modifyButton" value="Modify" onclick="template.edit()" class="button" disabled>
					<input type="button" id="upButton" value="Up" onclick="moveUp();" class="button" disabled>
					<input type="button" id="downButton" value="Down" onclick="moveDown();" class="button" disabled>
				</page:part>
				<page:part id="editPart" name="Add dictionary" width="500">
				</page:part>
			</TD>
		</TR>
		</TABLE>


	</layout:set>

</layout:use>